package com.example.pojo;

import java.io.Serializable;

public class Xs_ddx implements Serializable{

	/**
	 * 销售订单详表
	 */
	private static final long serialVersionUID = -3189626955121365878L;
	private int serno;
	private String billno;
	private String prodid ;
	private String prodname;
	private	String prodsize; 
	private	String unitname; 
	private	int squantity;
	private	double oldprice; 
	private	double discount; 
	private	double sprice; 
	private	double amount; 
	private	double taxrate; 
	private	double taxamt;
	private double vrtotal; 
	private	String preindate; 
	private int    qtyremain; 
	private	String fromno; 
	private	String trantype;
    public Xs_ddx(){}
	public String Pid;
	public String Pname;
	public String sumqty;
	
	public Xs_ddx(String pid, String pname, String sumqty) {
		super();
		Pid = pid;
		Pname = pname;
		this.sumqty = sumqty;
	}
	public String getSumqty() {
		return sumqty;
	}
	public void setSumqty(String sumqty) {
		this.sumqty = sumqty;
	}
	public int getSerno() {
		return serno;
	}
	public void setSerno(int serno) {
		this.serno = serno;
	}
	public String getBillno() {
		return billno;
	}
	public void setBillno(String billno) {
		this.billno = billno;
	}
	public String getProdid() {
		return prodid;
	}
	public void setProdid(String prodid) {
		this.prodid = prodid;
	}
	public String getProdname() {
		return prodname;
	}
	public void setProdname(String prodname) {
		this.prodname = prodname;
	}
	public String getProdsize() {
		return prodsize;
	}
	public void setProdsize(String prodsize) {
		this.prodsize = prodsize;
	}
	public String getUnitname() {
		return unitname;
	}
	public void setUnitname(String unitname) {
		this.unitname = unitname;
	}
	public int getSquantity() {
		return squantity;
	}
	public void setSquantity(int squantity) {
		this.squantity = squantity;
	}
	public double getOldprice() {
		return oldprice;
	}
	public void setOldprice(double oldprice) {
		this.oldprice = oldprice;
	}
	public double getDiscount() {
		return discount;
	}
	public void setDiscount(double discount) {
		this.discount = discount;
	}
	public double getSprice() {
		return sprice;
	}
	public void setSprice(double sprice) {
		this.sprice = sprice;
	}
	public double getAmount() {
		return amount;
	}
	public void setAmount(double amount) {
		this.amount = amount;
	}
	public double getTaxrate() {
		return taxrate;
	}
	public void setTaxrate(double taxrate) {
		this.taxrate = taxrate;
	}
	public double getTaxamt() {
		return taxamt;
	}
	public void setTaxamt(double taxamt) {
		this.taxamt = taxamt;
	}
	public double getVrtotal() {
		return vrtotal;
	}
	public void setVrtotal(double vrtotal) {
		this.vrtotal = vrtotal;
	}
	public String getPreindate() {
		return preindate;
	}
	public void setPreindate(String preindate) {
		this.preindate = preindate;
	}
	public int getQtyremain() {
		return qtyremain;
	}
	public void setQtyremain(int qtyremain) {
		this.qtyremain = qtyremain;
	}
	public String getFromno() {
		return fromno;
	}
	public void setFromno(String fromno) {
		this.fromno = fromno;
	}
	public String getTrantype() {
		return trantype;
	}
	public void setTrantype(String trantype) {
		this.trantype = trantype;
	}
	public String getPid() {
		return Pid;
	}
	public void setPid(String pid) {
		Pid = pid;
	}
	public String getPname() {
		return Pname;
	}
	public void setPname(String pname) {
		Pname = pname;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	public Xs_ddx(int serno, String billno, String prodid, String prodname,
			String prodsize, String unitname, int squantity, double oldprice,
			double discount, double sprice, double amount, double taxrate,
			double taxamt, double vrtotal, String preindate, int qtyremain,
			String fromno, String trantype, String pid, String pname) {
		super();
		this.serno = serno;
		this.billno = billno;
		this.prodid = prodid;
		this.prodname = prodname;
		this.prodsize = prodsize;
		this.unitname = unitname;
		this.squantity = squantity;
		this.oldprice = oldprice;
		this.discount = discount;
		this.sprice = sprice;
		this.amount = amount;
		this.taxrate = taxrate;
		this.taxamt = taxamt;
		this.vrtotal = vrtotal;
		this.preindate = preindate;
		this.qtyremain = qtyremain;
		this.fromno = fromno;
		this.trantype = trantype;
		Pid = pid;
		Pname = pname;
	}
	@Override
	public String toString() {
		return "Xs_ddx [serno=" + serno + ", billno=" + billno + ", prodid="
				+ prodid + ", prodname=" + prodname + ", prodsize=" + prodsize
				+ ", unitname=" + unitname + ", squantity=" + squantity
				+ ", oldprice=" + oldprice + ", discount=" + discount
				+ ", sprice=" + sprice + ", amount=" + amount + ", taxrate="
				+ taxrate + ", taxamt=" + taxamt + ", vrtotal=" + vrtotal
				+ ", preindate=" + preindate + ", qtyremain=" + qtyremain
				+ ", fromno=" + fromno + ", trantype=" + trantype + ", Pid="
				+ Pid + ", Pname=" + Pname + "]";
	}
 
	
	
}
